home *** CD-ROM | disk | FTP | other *** search
- Path: news.luc.edu!user
- From: VArase@varase.it.luc.edu (Verne Arase)
- Newsgroups: comp.lang.c
- Subject: Re: Borland C's tmpnam()
- Date: Sun, 31 Mar 1996 21:18:44 -0600
- Organization: LUMC
- Message-ID: <AD84A73496681719A2@mcdiala03.it.luc.edu>
- References: <AD75E5DC9668E2A52@mcdiala13.it.luc.edu> <Pine.A32.3.91.960322134158.23347A-100000@red.weeg.uiowa.edu> <AD78E5E796681EC58@mcdialb10.it.luc.edu> <827626790snz@genesis.demon.co.uk> <AD7CDFD39668AABD2@mcdiala01.it.luc.edu> <828276946snz@genesis.demon.co.uk>
- NNTP-Posting-Host: 147.126.240.103
-
- In article <828276946snz@genesis.demon.co.uk>,
- Lawrence Kirby <fred@genesis.demon.co.uk> wrote:
-
- >>I thought that only DOS/Intel offspring platforms were supported; that's
- >>why I limited my query to that specific compiler; else I would've
- included
- >>the target environment.
- >
- >Don't forget that you are posting to comp.lang.c where the bias is for
- >discussing the standard, platform-independent, C language. The place to
- >discuss the specific traits and extensions of Borland C is somewhere
- >like comp.os.msdos.programmer.
-
- Don't forget the subject line. I didn't ask a general question re:
- tmpnam(); I put it in the context of Borland C. If I'd asked the question
- in the context of CodeWarrior, I'd have expected someone with some
- Macintosh experience to respond.
-
- The newsgroup is called comp.lang.c, not comp.lang.x-platform.c.
-
- >>If you're stating that tmpnam() under Borland C does indeed check to see
- >>that the file name is unique, I'll quash that reluctance and change the
- >>default directory.
- >
- >I don't know what Borland C actually does. It it is a conforming
- >implementation it must ensure that the name it generates is valid and
- >doesn't already exist in the filesystem.
-
- Actually, it doesn't.
-
- All it does it insure that the file name doesn't exist in the current
- location in the file system. Which, I'd imagine, is what just about every
- implementation does.
-
- It's be a lot more useful if you could specify a target directory, though
- the string that makes up that specification would be target environment
- dependant.
-
- ---
- The above are my own opinions, and not those of my employer.
-